package com.health.manage.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 身体指标模型
 * @author: user
 */
@Data
@TableName("physical")
public class Physical implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO) //主键注解
    private Long id;

    @ApiModelProperty(value = "居民")
    @TableField("user_id")
    private String userId;

    @TableField(exist = false)
    private User user;

    @ApiModelProperty(value = "身高")
    @TableField("height")
    private String height;

    @ApiModelProperty(value = "体重")
    @TableField("weight")
    private String weight;

    @ApiModelProperty(value = "低压")
    @TableField("low_pressure")
    private String lowPressure;

    @ApiModelProperty(value = "高压")
    @TableField("high_pressure")
    private String highPressure;

    @ApiModelProperty(value = "血糖")
    @TableField("glucose")
    private String glucose;

    @ApiModelProperty(value = "心率")
    @TableField("heart")
    private String heart;

    @ApiModelProperty(value = "记录日期")
    @TableField("create_date")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String createDate;

    @ApiModelProperty(value = "记录人")
    @TableField("create_id")
    private String createId;

    @TableField(exist = false)
    private User creator;

    @ApiModelProperty(value = "红细胞")
    @TableField("erythrocyte")
    private String erythrocyte;

    @ApiModelProperty(value = "血红蛋白(g/L)")
    @TableField("hemoglobin")
    private String hemoglobin;

    @ApiModelProperty(value = "白细胞")
    @TableField("leukocyte")
    private String leukocyte;

    @ApiModelProperty(value = "中性粒细胞比率(%)")
    @TableField("Neutrophils")
    private String Neutrophils;

    @ApiModelProperty(value = "淋巴细胞")
    @TableField("lymphocyte")
    private String lymphocyte;

    @ApiModelProperty(value = "血小板")
    @TableField("platelet")
    private String platelet;

    @ApiModelProperty(value = "总胆固醇(mmol/L)")
    @TableField("total_cholesterol")
    private String total_cholesterol;

    @ApiModelProperty(value = "甘油三酯(mmol/L)")
    @TableField("Triglycerides")
    private String Triglycerides;

    @ApiModelProperty(value = "低密度脂蛋白胆固醇(mmol/L)")
    @TableField("LDL_cholesterol")
    private String LDL_cholesterol;

    @ApiModelProperty(value = "高密度脂蛋白胆固醇(mmol/L)")
    @TableField("HDL_cholesterol")
    private String HDL_cholesterol;

    @ApiModelProperty(value = "谷丙转氨酶(U/L)")
    @TableField("alanine_transaminase")
    private String alanine_transaminase;

    @ApiModelProperty(value = "谷草转氨酶(U/L)")
    @TableField("aspartate_aminotransferase")
    private String aspartate_aminotransferase;
    @ApiModelProperty(value = "总胆红素")
    @TableField("total_bilirubin")
    private String total_bilirubin;

    @ApiModelProperty(value = "直接胆红素")
    @TableField("total_bilirubin_direct")
    private String total_bilirubin_direct;

    @ApiModelProperty(value = "尿蛋白")
    @TableField("pro")
    private String pro;

    @ApiModelProperty(value = "尿葡萄糖")
    @TableField("glu")
    private String glu;

    @ApiModelProperty(value = "尿胆红素")
    @TableField("bil")
    private String bil;

    @ApiModelProperty(value = "尿胴体")
    @TableField("ket")
    private String ket;

	@ApiModelProperty(value = "白细胞(/HP)")
	@TableField("wbc")
	private String wbc;

	@ApiModelProperty(value = "红细胞(/HP)")
	@TableField("rbc")
	private String rbc;

    @ApiModelProperty(value = "尿胆原")
    @TableField("uro")
    private String uro;
    @ApiModelProperty(value = "尿比重")
    @TableField("sg")
    private String sg;

	@ApiModelProperty(value = "尿酸碱度")
	@TableField("ph")
	private String ph;

	@ApiModelProperty(value = "甲胎蛋白")
	@TableField("afp")
	private String afp;

	@ApiModelProperty(value = "癌胚抗原")
	@TableField("cea")
	private String cea;

	@ApiModelProperty(value = "铁蛋白")
	@TableField("fer")
	private String fer;


}
